Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Accessing File Objects


Q3File_IsOpen

You can use the Q3File_IsOpen function to determine whether a file object is open.

TQ3Status Q3File_IsOpen (TQ3FileObject file, TQ3Boolean *isOpen);
file
A file object.
isOpen
On exit, a Boolean value that indicates whether the specified file is open (kQ3True) or closed (kQ3False).
DESCRIPTION
The Q3File_IsOpen function returns, in the isOpen parameter, a Boolean value that indicates whether the file object specified by the file parameter is open (kQ3True) or closed (kQ3False).

ERRORS
kQ3ErrorFileNotOpen
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996